package com.qijian.maindata.domain.query;


import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.util.Set;


/**
 * 基础资料对象 查询条件类
 *
 * @author qijian
 * @date 2024-08-05
 */

@Data
@ToString
@TableName("kd_basic_data")
public class KdBasicDataQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "kd_main_serial_number")
    private String kdMainSerialNumber;
    @WhereType(filed = "kd_detail_serial_number")
    private String kdDetailSerialNumber;
    @WhereType(filed = "code")
    private String code;
    @WhereType(filed = "code", type = WhereTypeEnum.LIKE)
    private String codeLike;
    @WhereType(filed = "name")
    private String name;
    @WhereType(filed = "name", type = WhereTypeEnum.LIKE)
    private String nameLike;
    @WhereType(filed = "type")
    private String type;
    @WhereType(filed = "type_code")
    private String typeCode;
    @WhereType(filed = "remark")
    private String remark;



}
